package admin

import database "hft/Database"

type Advise struct {
	database.Base
	Phone   string `json:"phone"`
	City    uint   `json:"city"`
	Content string `json:"content" gorm:"type:text"`
	Type    int    `json:"type" gorm:"tinyint(1)"` //1代表信息有误 0代表宝贵意见
}

func (Advise) TableName() string {
	return database.TableNameFormat("advise")
}
